import Vue from 'vue'
import VueRouter from 'vue-router'
// import Home from '../views/Home.vue'
import login from '../views/index.vue'
import regin from '../views/regin.vue'
import user from '../views/user.vue'
import edit from '../views/edit.vue'
import index from '../views/content.vue'
import wen from '../views/wen.vue'
import gz from '../views/wdgz.vue'

Vue.use(VueRouter)

  const routes = [
  {
    path: '/',
    component: login
  },
  {
    path:'/regin',
    name:'regin',
    component: regin
  },
  {
    path:'/user',
    component:user
  },
  {
    path:'/edit',
    component:edit
  },
  {
    path:'/index',
    component:index
  },
  {
    path:'/wen',
    component:wen
  },
  {
    path:'/gz',
    component:gz
  }
]

const router = new VueRouter({
  routes
})

export default router
